<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<base href="<%=basePath%>">
	<meta charset="utf-8" />
	<link rel="stylesheet" type="text/css" href="css/style.css"/>
<title>提示信息</title>
</head>
<body>
	<div class="container_msg">
		<div class="notification success">
			<p style="margin: auto;font-size: 30px;width: 300px;">
				 ${ message  } 
				<c:if test="${download == 1}">
				<a onclick="down();" style="font-size: 30px;cursor:pointer;">预览</a>
      			</c:if>
			</p>
		</div>
	</div>
</body>
<script type="text/javascript" src="js/jquery-1.7.2.js" ></script>
<script type="text/javascript">
		var uuid = '${uuid}';
		function down(){
			window.location.href='<%=basePath%>upload/'+uuid+'.pdf';
			};
</script>
</html>
